<!--用户-->
<div class="ucenter">
        <div class="ucface">
        <if condition="$u['id'] neq $user['id']">
        <img src="{:getUserFace($u['id'],'m')}"/>
        <else/>
        <a href="{:u('uc/account_face')}" title="修改头像"><img src="{:getUserFace($u['id'],'m')}"/></a>
        </if>
        </div>
        <div class="ucenter_right">
            <if condition="$u['id'] neq $user['id']">
            <span class="ucenter_name">{$u.name}</span>
            <else/>
            <span class="ucenter_name"><a href="{:u('uc/account_basic')}" title="修改资料">{$u.name}</a></span>
            </if>
            
            <ul>
            <if condition="$u['id'] neq $user['id']">
                <li><a class="add_follow <if condition='$u["is_follow"] eq 1'>yet</if>" fans_id="{$u.id}" href="javascript:void(0)"></a></li>
            <else/>
                <p>站内积分：{$u.integral}分</p>
				<p>可用余额：{$u.money}元</p>
				<p>可用<if condition="$cashback_type eq '1'">集分宝
					  <else/>
					 	{$tb_fanxian_name}
					  </if>：
			 {$u.jifenbao}{$tb_fanxian_unit}</p>
            </if>
            </ul>            
        </div>
        <div class="ucenter_content">        	
            <span id="user_info_span">{$u.info}</span>
            <if condition="$u['id'] eq $user['id']">
            <a href="javascript:void(0)" class="uc_home_link" id="user_info" uid="{$user['id']}">[编辑]</a>
            </if>
        </div>
        <div class="ucenter_tl">
            <ul>
                <li><span>分享</span><br/>{$u.share_num}</li>
                <li class="solid"><span>专辑</span><br/>{$u.album_num}</li>
                <li><span>喜欢</span><br/>{$u.like_num}</li>
            </ul>
        </div>
        
        
        <div class="ucenter-list">
            <ul>
            <if condition="$u['id'] neq $user['id']">
                <li><span class="li1"></span><a href="{:uc('uc/index')}"><php>if($u['sex']==0){</php>他<php>}elseif($u['sex']==1){</php>她<php>}else{</php>ta<php>}</php>的专辑</a></li>
                <li><span class="li2"></span><a href="{:uc('uc/like')}"><php>if($u['sex']==0){</php>他<php>}elseif($u['sex']==1){</php>她<php>}else{</php>ta<php>}</php>的喜欢</a></li>
                <li><span class="li3"></span><a href="{:uc('uc/share')}"><php>if($u['sex']==0){</php>他<php>}elseif($u['sex']==1){</php>她<php>}else{</php>ta<php>}</php>的分享</a></li>
                <li><span class="li4"></span><a href="{:uc('uc/follow')}"><php>if($u['sex']==0){</php>他<php>}elseif($u['sex']==1){</php>她<php>}else{</php>ta<php>}</php>的关注</a></li>
                <li><span class="li5"></span><a href="{:uc('uc/fans')}"><php>if($u['sex']==0){</php>他<php>}elseif($u['sex']==1){</php>她<php>}else{</php>ta<php>}</php>的粉丝</a></li>
            <else/>
                <li><span class="li1"></span><a href="{:u('uc/index')}">我的专辑</a><a id="create_album" href="javascript:void(0)" class="red">创建专辑</a></li>
                <li><span class="li2"></span><a href="{:u('uc/like')}">我的喜欢</a></li>
                <li><span class="li3"></span><a href="{:u('uc/share')}">我的分享</a></li>
                <li><span class="li4"></span><a href="{:u('uc/follow')}">我的关注</a></li>
                <li><span class="li5"></span><a href="{:u('uc/fans')}">我的粉丝</a></li>
                <li><span class="li6"></span><a href="{:u('uc/account_basic')}">账号设置</a></li>
				
				<if condition="$is_cashback eq 1">		<!--是否开启返现-->		
                	<li><span class="li7"></span><a href="{:u('uc/account_commission')}">返利管理</a></li>
				</if>				
                <li><span class="li8"></span><a href="{:u('uc/account_invitation')}">邀请好友</a></li>
                <li><span class="li9"></span><a href="{:u('uc/account_message')}">短信息</a></li>
				<li><span class="li10"></span><a href="{:u('uc/account_exchange')}">兑换商品</a></li>
            </if>
            </ul>
        </div>
    </div>